package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 堵车红包表 duchehongbao
 * 
 * @author chengenjiang
 * @date 2019-07-16
 */
public class Duchehongbao extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 堵车红包Id */
	@Excel(name = "堵车红包Id")
	private Integer duchehongbaoId;
	/** 最小金额 */
	@Excel(name = "最小金额")
	private Double smallMoney;
	/** 最大金额 */
	@Excel(name = "最大金额")
	private Double bigMoney;
	/** 触发时间 */
	@Excel(name = "触发时间")
	private String chuFaTime;
	/** 红包数量 */
	@Excel(name = "红包数量")
	private Integer shuLiang;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "扩展字段")
	private String attribute;

	public void setDuchehongbaoId(Integer duchehongbaoId) 
	{
		this.duchehongbaoId = duchehongbaoId;
	}

	public Integer getDuchehongbaoId() 
	{
		return duchehongbaoId;
	}
	public void setSmallMoney(Double smallMoney) 
	{
		this.smallMoney = smallMoney;
	}

	public Double getSmallMoney() 
	{
		return smallMoney;
	}
	public void setBigMoney(Double bigMoney) 
	{
		this.bigMoney = bigMoney;
	}

	public Double getBigMoney() 
	{
		return bigMoney;
	}
	public void setChuFaTime(String chuFaTime) 
	{
		this.chuFaTime = chuFaTime;
	}

	public String getChuFaTime() 
	{
		return chuFaTime;
	}
	public void setShuLiang(Integer shuLiang) 
	{
		this.shuLiang = shuLiang;
	}

	public Integer getShuLiang() 
	{
		return shuLiang;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("duchehongbaoId", getDuchehongbaoId())
            .append("smallMoney", getSmallMoney())
            .append("bigMoney", getBigMoney())
            .append("chuFaTime", getChuFaTime())
            .append("shuLiang", getShuLiang())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
